@echo off

set WORK_PATH=..

echo %WORK_PATH%

set from=%WORK_PATH%\assets
set to=E:\tools\H5GUI\dist\assets\
:: /d 只复制修改过的文件
xcopy /e /s /h /f /y /d %from% %to%

::复制exe文件
set fromExe=%WORK_PATH%\dist\H5GUI.exe
set toExe=E:\tools\H5GUI\dist\H5GUI.exe
xcopy /e /s /h /f /y /d %fromExe% %toExe%
pause